package top.chenfu.cloud.item.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;

/**
 * @Auther chenfu
 * @2019/12/14 17:52
 * @Desc
 */
@Entity
public class Item {

    @NotNull(message = "商品id不能为null")
    @Id
    private String id;

    private String name;

    //    1代表删除
    private String status = "0";

}
